# Contributor: Maxim Karasev <mxkrsv@disroot.org>
# Maintainer: Maxim Karasev <mxkrsv@disroot.org>
pkgname=nvim-gruvbox
pkgver=0.0.0_git20221212
_commit=c64ec557672c9c8ecc71a438533525482021377f
pkgrel=0
pkgdesc="lua port of gruvbox vim colorscheme"
url="https://github.com/ellisonleao/gruvbox.nvim"
arch="noarch"
license="MIT"
subpackages="$pkgname-doc"
source="https://github.com/ellisonleao/gruvbox.nvim/archive/$_commit/nvim-gruvbox-$pkgver.tar.gz"
builddir="$srcdir/gruvbox.nvim-$_commit"
options="!check" # no tests

package() {
	install -d "$pkgdir"/usr/share/nvim/site
	cp -ra lua colors autoload "$pkgdir"/usr/share/nvim/site
	install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
}

sha512sums="
1a723d5f99296f0354e33cd78f08f31ff77d8e01b161362fbe97ea7b430a2119bd6ca3cedb9d591a3ca528478303387c00e934b9372575a8f8ea85a89329ae70  nvim-gruvbox-0.0.0_git20221212.tar.gz
"
